package com.aaron.prototype.client;

import com.aaron.prototype.prototype.IPrototype;

public class Client {
	
	private IPrototype proto1;
	private IPrototype proto2;
	private IPrototype proto3;
	
	
	public IPrototype getProto(int index){
		IPrototype pro = null;
		switch(index){
		case 1: pro = proto1.clone(); break;
		case 2: pro = proto2.clone(); break;
		case 3: pro = proto3.clone(); break;
		}
		return pro;
	}
	
	
	public IPrototype getProto1() {
		return proto1;
	}
	public void setProto1(IPrototype proto1) {
		this.proto1 = proto1;
	}
	public IPrototype getProto2() {
		return proto2;
	}
	public void setProto2(IPrototype proto2) {
		this.proto2 = proto2;
	}
	public IPrototype getProto3() {
		return proto3;
	}
	public void setProto3(IPrototype proto3) {
		this.proto3 = proto3;
	}
	
	
	
	
	

	
	
	
}
